<script>
  import $ from 'dfish-widget'
  import Method from '../Method.vue'

  export default {
    mixins: [Method],
    data() {
      return {
        name: 'v-form-ignore',
        remark: '执行Submit命令时，当前范围内的表单不提交，不验证。',
        examples: [{
          remark: '当div隐藏时，不提交验证内部的表单',
          type: 'html',
          code: `
            <div v-show="show" v-form-ignore="!show">
              ...一些表单内容
            </div>
          `
        }]
      }
    }
  }
</script>
